{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "b8b8f62e",
   "metadata": {},
   "outputs": [],
   "source": [
    "def a():\n",
    "    print(\"aaaa\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "f58ecd5c",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "aaaa\n"
     ]
    }
   ],
   "source": [
    "a()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "2b5002e1",
   "metadata": {},
   "outputs": [],
   "source": [
    "def b(a,b,c):\n",
    "    print(a)\n",
    "    print(b)\n",
    "    print(c)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "0d08c96e",
   "metadata": {},
   "outputs": [],
   "source": [
    "x, y, z = 1, 2, 3"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "1aa4d200",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1\n",
      "2\n",
      "3\n"
     ]
    }
   ],
   "source": [
    "b(x,y,z)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "6dd16a20",
   "metadata": {},
   "outputs": [],
   "source": [
    "def c(a=1, b=2):\n",
    "    print('a:',a)\n",
    "    print('b:',b)\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "dc9fb5bd",
   "metadata": {},
   "outputs": [],
   "source": [
    "x1, y1 = 10, 20"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "6b62a6d7",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "a: 10\n",
      "b: 20\n"
     ]
    }
   ],
   "source": [
    "c(a=x1, b=y1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "5ac7d80c",
   "metadata": {},
   "outputs": [],
   "source": [
    "def d(a, b=10):\n",
    "    print('a:',a)\n",
    "    print('b:',b)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "5180981c",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "a: 10\n",
      "b: 20\n"
     ]
    }
   ],
   "source": [
    "d(10,b=20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "7e4b3a0a",
   "metadata": {},
   "outputs": [],
   "source": [
    "a = 'aaaaaaaabcdefgggggggggg'\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "29116551",
   "metadata": {},
   "outputs": [],
   "source": [
    "b = a.strip(\"a\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "18506e2a",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'bcdefgggggggggg'"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "b"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "ceffb089",
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "for i in range(10):\n",
    "    c = os.path.abspath('')\n",
    "    d = os.listdir()\n",
    "    if d.endswith('')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "64801fdb",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
